home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: coreleft() equivalent in gcc
- Date: Tue, 06 Feb 96 20:14:17 GMT
- Organization: none
- Message-ID: <823637657snz@genesis.demon.co.uk>
- References: <311687C5.1A1B8F09@charybdis.math.mcgill.ca>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <311687C5.1A1B8F09@charybdis.math.mcgill.ca>
- luc@charybdis.math.mcgill.ca "Luc Lalonde" writes:
-
- >Hello,
- >
- >Would anybody know what the gcc's equivalent to Turbo C's coreleft()?
- >This is function's sole pupose is to check available memory.
-
- This is inevitably highy system specific. Foir instance when you are using
- a system with virtual memory what exactly do you mean by 'available memory'.
- On such systems you normally allocate enough memory to allow your program to
- work with good efficiency and let the OS worry about where it gets it
- from.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-